-
Home
-
Tutor LMS – eLearning and online course solution
-
2.2.4
-
Code
-
Classes
- User
Total Complexity |
42 |
Dependencies |
1 |
Dependents |
2 |
Total lines |
343 |
Lines of code |
157 |
Logical lines of code |
83 |
Comment lines |
138 |
Methods |
14 |
Properties |
2 |
Methods 14
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
update_user_photo() |
A |
43 |
11 |
43 |
show_registration_disabled() |
S |
50 |
6 |
30 |
has_any_role() |
S |
61 |
5 |
13 |
hide_notices() |
S |
59 |
4 |
13 |
delete_existing_user_photo() |
S |
68 |
3 |
6 |
set_user_role() |
S |
70 |
3 |
6 |
__construct() |
S |
60 |
2 |
13 |
profile_update() |
S |
62 |
2 |
11 |
is() |
S |
80 |
1 |
3 |
is_student() |
S |
80 |
1 |
3 |
is_admin() |
S |
80 |
1 |
3 |
is_instructor() |
S |
79 |
1 |
3 |
edit_user_profile() |
S |
80 |
1 |
3 |
tutor_user_photo_remove() |
S |
70 |
1 |
7 |